home *** CD-ROM | disk | FTP | other *** search
-
-
- This directory contains sample programs involving reading and writing
- 8-bit raster image sets. Run "make" to compile the routines and copy
- the input test files from the "../files" directory.
-
- If you have just installed HDF and want to do a quick test, run manyRIS.
-
-
- Test routines
- -------------
-
- putim: Program for creating an image and storing it in an HDF file
-
- If "row order" is selected the image created, with it's palette,
- should display as an increasingly dark gray scale going from top
- to bottom, up to 256 rows, then repeating. If "column order" is
- chosen, this pattern will be transposed.
-
- User supplies filename, height, width, compression, and whether
- to store image in row or column order
-
- putimF: Program for creating an image and storing it in an HDF file
-
- If "row order" is selected the image created, with it's palette,
- should display as an increasingly dark gray scale going from top
- to bottom, up to 256 rows, then repeating. If "column order" is
- chosen, this pattern will be transposed.
-
- User supplies filename, height, width, compression, and whether
- to store image in row or column order.
-
- getputim: Program to illustrate use of DFR8getdims, DFR8getimage and
- DFR8addimage
-
- Files needed: old.hdf (look in "files" directory)
- Files created: new.hdf
- The image that is moved from old.hdf to new.hdf contains the sectrum
- of colors, moving from to to bottom, with ten vertical and ten
- horizontal lines cross-hatched.
-
- getputimF: Program to illustrate use of d8gdims, d8gimg and d8aimg
-
- Files needed: old.hdf (look in "files" directory)
- Files created: new.hdf
- The image that is moved from old.hdf to new.hdf contains the sectrum
- of colors, moving from to to bottom, with ten vertical and ten
- horizontal lines cross-hatched.
-
- manyRIS.c: Program to generate and write many images of many different
- sizes as RISs, then read them back and verify their correctness.
-
- User supplies number of images and file name.
- NOTE: Currently does not test imcomp compression.
-
-
- t_bigbuf: Program to test d8gimg when buffers are larger than image
-
- Input file: h200x150.hdf (in "files" directory)
- Output file: new.hdf
-
-
- threeRIS: Illustrates reading three RISs from three files and
- outputting them to one file. A palette is also read
- from a file and associated with all of the images.
-
- Input files: storm110.hdf,storm120.hdf, storm130.hdf (in "files" directory)
- grey.pal (HDF file containing a palette)
- Output file: 3storm.hdf
-
-